package com.jbinfo.qingcaowan.studyManager.dto;

import java.io.Serializable;
import java.util.Date;

public class RemarkDTO implements Serializable {
	
	private static final long serialVersionUID = 229501910324721662L;

	/*   ****     属性列表         *****     */
    private String remarkId; //评论编号

    private String remarkBookid; //评论所在的书籍编号

    private String remarkChapterid; //评论所在的章节编号

    private String remarkCardid;  //评论所在的卡片编号

    private String content;   //评论内容
 
    private String userid;  //评论人编号

    private Date remarkTime; //评论时间

    private String isshow;  //是否展示    0显示。1无效
    
    private String bookName;  //书籍的名字
    
    private String parentId;  //父代的评论编号
    
    
    
  /*      get&set   方法开始 */

    public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getRemarkId() {
        return remarkId;
    }

    public void setRemarkId(String remarkId) {
        this.remarkId = remarkId == null ? null : remarkId.trim();
    }

    public String getRemarkBookid() {
        return remarkBookid;
    }

    public void setRemarkBookid(String remarkBookid) {
        this.remarkBookid = remarkBookid == null ? null : remarkBookid.trim();
    }

    public String getRemarkChapterid() {
        return remarkChapterid;
    }

    public void setRemarkChapterid(String remarkChapterid) {
        this.remarkChapterid = remarkChapterid == null ? null : remarkChapterid.trim();
    }

    public String getRemarkCardid() {
        return remarkCardid;
    }

    public void setRemarkCardid(String remarkCardid) {
        this.remarkCardid = remarkCardid == null ? null : remarkCardid.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }


    public Date getRemarkTime() {
		return remarkTime;
	}

	public void setRemarkTime(Date remarkTime) {
		this.remarkTime = remarkTime;
	}

	public String getIsshow() {
        return isshow;
    }

    public void setIsshow(String isshow) {
        this.isshow = isshow == null ? null : isshow.trim();
    }

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	@Override
	public String toString() {
		return "RemarkDTO [remarkId=" + remarkId + ", remarkBookid=" + remarkBookid + ", remarkChapterid="
				+ remarkChapterid + ", remarkCardid=" + remarkCardid + ", content=" + content + ", userid=" + userid
				+ ", remarkTime=" + remarkTime + ", isshow=" + isshow + ", bookName=" + bookName + ", parentId="
				+ parentId + "]";
	}
}